package ${package.Entity};

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import ${package.Entity.base}.BaseEntity;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("${tableName}")
public class ${entity} extends BaseEntity {

<#list fields as field>
    @TableField("${field.name}")
    private ${field.type} ${field.property};
</#list>
}